package com.jkj.http.sys.dao;

import java.util.List;

import com.jkj.http.sys.entity.SysOrganize;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

@Repository
public interface SysOrganizeDao {

	List<SysOrganize> getOrganizeList();

	int getTotalCount(@Param("keyWord") String keyWord);

	List<SysOrganize> getList(@Param("keyWord") String keyWord);

	int getChildCount(@Param("parentId") String parentId);
	
	SysOrganize get(@Param("primaryKey") String primaryKey);
	
	int delete(@Param("primaryKey") String primaryKey);
	
	int insert(SysOrganize model);
	

	int update(SysOrganize model);
}
